#pragma once
#include "AppInterface.h"
#include "ataskinterface.h"
#include "plugininterface.h"
#include <qobject.h>
#include <qlineedit.h>
#include <QDoubleSpinBox>
#include <qcheckbox.h>

class PluginModSst:public QObject, public ARSSPluginInterface
{
	Q_OBJECT
public:
	PluginModSst(ARSSAppInterface* appi) :_appi(appi), _widget(0){}

	virtual void initGui() ;
	virtual void unload()  ;

public slots:
	void onMenu();
	void onRun();
	void onOpenIn();
	void onOpenOutput();
	void onTaskDone();

private:
	ARSSAppInterface* _appi;
	QWidget* _widget;

	QLineEdit* _lineEditOpenIn=nullptr;
	QLineEdit* _lineEditA1 = nullptr;
	QLineEdit* _lineEditA2 = nullptr;
	QLineEdit* _lineEditA3 = nullptr;
	QLineEdit* _lineEditA4 = nullptr;
	QLineEdit* _lineEditOutput = nullptr;
	QCheckBox* _checkBoxWarp = nullptr;

	static int _s_serials;
};

